
$theme-color: #8C97CB;
$theme-color-background: #F4F6FA;
$theme-color-border: #EDF0FF;

$theme-transition: all .2s linear;

.theme-color {
  color: $theme-color;
}
.theme-color-background {
  background: $theme-color-background;
}
.theme-color-border {
  border: $theme-color-border 1px solid;
}

@mixin one-line-text{
  /*单行文本溢出解决方案*/
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

@mixin three-line-text{
  /*定行文本溢出解决方案       （3行）*/
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.6em;
  height: 4.8em;
}

@mixin five-line-text{
  /*定行文本溢出解决方案       （5行）*/
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  line-height: 1.6em;
  height: 7.8em;
}

@mixin inner-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.main-center {
  width: 1200px;
  margin: 0 auto;
  //background: #D7E6E9;
}

html {
  background-color: $theme-color-background;
}



.list-nav {
  font-size: 14px;
  line-height: 42px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid $theme-color-border;

  li {
    text-align: center;
    margin: 0 20px;
    padding: 0 6px;
    cursor: pointer;
    transition: $theme-transition;
    border-bottom: 2px solid #fff;

    &:hover,
    &.active {
      color: $theme-color;
    }

    &.active {
      font-weight: bold;
      border-color: $theme-color;
    }
  }
}

.more-loading {
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  .more {
    cursor: pointer;
    width: 60%;
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
    text-align: center;
    color: $theme-color;
    border: 1px solid $theme-color-border;
    background: $theme-color-background;

    &:hover {
      background: $theme-color-border;
    }
  }

  /deep/.el-loading-mask {
    background: #fff;
  }
}


